package com.frost500.integrationdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.frost500.integrationdemo.model.Storage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface StorageMapper extends BaseMapper<Storage> {

    int deduct(@Param("id") Long id, @Param("num") Long num);

    Storage selectBypk(@Param("id") Long id);
}
